package pojo;

import java.io.Serializable;

import br.org.lh.ClientSwing.Utils.AppLevelContext;



public class SwingServerInformation implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6679671684377597908L;

	public static final int CLIENTSWING=0;
	
	public static final int SERVERSWING=1;
	
	private int rnLocationConstant;
	
	private int fileSize;	
	
	private String jarName;
	
	
	
	private byte [] file;

	private AppLevelContext appLevelContext;
	

	public final AppLevelContext getAppLevelContext() {
		return appLevelContext;
	}

	public final void setAppLevelContext(AppLevelContext appLevelContext) {
		this.appLevelContext = appLevelContext;
	}

	public final int getFileSize() {
		return fileSize;
	}

	public final void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public final int getRnLocationConstant() {
		return rnLocationConstant;
	}

	public final void setRnLocationConstant(int rnLocationConstant) {
		this.rnLocationConstant = rnLocationConstant;
	}

	public final byte[] getFile() {
		return file;
	}

	public final void setFile(byte[] file) {
		this.file = file;
	}

	

	public SwingServerInformation(int rnLocationConstant, int fileSize,
			byte[] file, AppLevelContext appLevelContext, String jarName) {
		super();
		this.rnLocationConstant = rnLocationConstant;
		this.fileSize = fileSize;
		this.file = file;
		this.appLevelContext = appLevelContext;
		this.jarName = jarName;
	}

	public SwingServerInformation() {
		// TODO Auto-generated constructor stub
	}

	public final String getJarName() {
		return jarName;
	}

	public final void setJarName(String jarName) {
		this.jarName = jarName;
	}

	

	
	
	
	
}
